{% assign pay_id = pay_block_id | default: '0' %}

<style>
  .product-payment-box{
    flex-direction: column;
  }
</style>

{%- if payment.interface_type == 'jhpaypaypal21' -%}
  {% include 'paypal_jhpaypaypal21', pay_id: pay_id %}
{%- endif -%}

{%- if payment.interface_type == 'jhpay' -%}
{% include 'paypal_jhpay', pay_id: pay_id %}
{%- endif -%}

{%- if payment.interface_type == 'paypal21payment' -%}
{% include "paypal_paypal21payment", pay_id: pay_id %}
{%- endif -%}


{%- if payment.interface_type == 'paypal21' -%}
{% include "paypal_paypal21", pay_id: pay_id %}
{%- endif -%}

{%- if payment.interface_type == 'paypal2' -%}
{% include "paypal_paypal2", pay_id: pay_id %}
{%- endif -%}

{%- if payment.interface_type == 'paypal' -%}
{% include "paypal", pay_id: pay_id %}
{%- endif -%}


{%- if payment.interface_type == 'paypalpool' -%}
{% include "paypal_paypalpool", pay_id: pay_id %}
{%- endif -%}  
{%- if payment.interface_type == 'paypalcompletepayments' or payment.interface_type == 'paypalcompletepaymentsv2' -%}
{% include "paypal_ads_applepay_googlepay", pay_id: pay_id %}
{%- endif -%}  